<template>
        <mt-swipe :auto="3000">
         <mt-swipe-item v-for="(item,index) in swipelist" :key="index">
             <img :src="item.img" alt="" :class="{'fullWidth':flag}">
        </mt-swipe-item>      
        </mt-swipe>
</template>
<script>
export default {
    props:['swipelist','flag']
}
</script>
<style lang="scss" socped>
      .mint-swipe{
        height: 200px;
        overflow: hidden;
        text-align: center;
        img{
        height: 100%;
        }
    }
.fullWidth{
    width: 100%;
}

</style>
